﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Hfm.Core.DataAccess.Country;
using Hfm.Common.Entity.Country;

namespace Hfm.Core.BusinessManager.Country
{
    public class CountryManager
    {
        protected readonly CountryData CountryDataAccess;

        public CountryManager()
        {
            
        }

        public CountryManager(CountryData countryData)
        {
            CountryDataAccess = countryData;
        }

        public virtual List<CountryEntity> GetAllCountry()
        {
            return CountryDataAccess.GetAllCountry();
        }

        public virtual CountryEntity GetCountryById(int Id)
        {
            return CountryDataAccess.GetCountryById(Id);
        }
    }
}
